﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace huqiang.DataSet
{
    public class IdTransit
    {
        /// <summary>
        /// 目标机器的在服务器中的唯一id
        /// </summary>
        [ProtoBuf.ProtoMember(1)]
        public long id;
        /// <summary>
        /// 转发的指令
        /// </summary>
        [ProtoBuf.ProtoMember(2)]
        public UInt16 cmd;
        /// <summary>
        /// 转发的指令类型
        /// </summary>
        [ProtoBuf.ProtoMember(3)]
        public byte cmdType;
        /// <summary>
        /// 转发的错误码
        /// </summary>
        [ProtoBuf.ProtoMember(4)]
        public UInt16 error;
        /// <summary>
        /// 转发的附加数据
        /// </summary>
        [ProtoBuf.ProtoMember(5)]
        public byte[] data;
    }
}
